﻿/*
 * @autor: hectorea
 * @date: 11/08/2012
 * @programming interview 3
 * 
 */
using System;

namespace StringPermutation
{
    class Program
    {
        static void Main()
        {
            string input = string.Empty;

            do
            {
                Console.Clear();

                Console.Write("Type a string:");
                input = Console.ReadLine();

                input.Permute();

                Console.WriteLine("Please type any key to continue o [X] to exit.");
                input = Console.ReadLine().ToUpper();

            } while (input != "X");
        }

        
    }
}
